﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XSTDZ.ERP.Core.Generator;

namespace XSTDZ.ERP.Domain.Models
{
    /// <summary>
    /// 盘点
    /// </summary>
    public partial class ProductCheckBillDetail
    {

        public ProductCheckBillDetail InitProductCheck()
        {
            if (this.Id.Equals(Guid.Empty))
            {
                this.Id = (Guid)new SequentialIdentityGenerator().Next;
            }
            this.Deleted = 0;
           
            return this;
        }

        ////更新账面数量
        //public ProductCheckBillDetail UpdateDetailsAmount(ProductCheckBillDetail productCheckBillDetail)
        //{
        //    if (productCheckBillDetail.StockID != null && !productCheckBillDetail.StockID.Equals(Guid.Empty))
        //    { 
               
        //    }
        //}
       
    }
}
